﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class AdvertiseService
	{
		private static readonly AdvertiseDAL db = new AdvertiseDAL();
		#region[Advertise_GetById]
		public static DataTable Advertise_GetById(string Id)
		{
			return db.Advertise_GetById(Id);
		}
		#endregion
		#region[Advertise_GetByAll]
		public static DataTable Advertise_GetByAll()
		{
			return db.Advertise_GetByAll();
		}
		#endregion
		#region[Advertise_GetByTop]
		public static DataTable Advertise_GetByTop(string Top, string Where, string Order)
		{
			return db.Advertise_GetByTop(Top, Where, Order);}
		#endregion
		#region[Advertise_Insert]
		public static void Advertise_Insert(AdvertiseInfo Data)
		{
			 db.Advertise_Insert(Data);
		}
		#endregion
		#region[Advertise_Update]
		public static void Advertise_Update(AdvertiseInfo Data)
		{
			 db.Advertise_Update(Data);
		}
		#endregion
		#region[Advertise_Delete]
		public static void Advertise_Delete(AdvertiseInfo Data)
		{
			 db.Advertise_Delete(Data);
		}
		#endregion
	}
}